package com.sumer.brain.sys.model.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sumer.brain.common.model.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Schema(name = "SysMenu", description = "菜单实体")
@TableName(value = "sys_dict_data")
@Data
public class SysDictData extends BaseEntity {

    @Schema(description = "字典编码")
    @TableId(type = IdType.AUTO)
    @ExcelProperty("字典编码")
    private Long dictCode;

    @Schema(description = "字典排序")
    @ExcelProperty("字典排序")
    private Integer dictSort;

    @Schema(description = "字典标签")
    @ExcelProperty("字典标签")
    private String dictLabel;

    @Schema(description = "字典键值")
    @ExcelProperty("字典键值")
    private String dictValue;

    @Schema(description = "字典类型")
    @ExcelProperty("字典类型")
    private String dictType;

    @Schema(description = "样式属性（其他样式扩展）")
    @ExcelProperty("样式属性")
    private String cssClass;

    @Schema(description = "表格回显样式")
    @ExcelProperty("表格回显样式")
    private String listClass;

    @Schema(description = "是否默认（Y是 N否）")
    @ExcelProperty("是否默认")
    private String isDefault;

    @Schema(description = "状态（0正常 1停用）")
    @ExcelProperty("状态")
    private String status;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;
}